<div id="Iddiv_leftmenu" style="background-color:#fff;">	
	<!-- thong tin nguoi dang nhap -->
	<div><?php echo $_SESSION['INFORMATION_STAFF_LOGIN'];?></div>
	<!--Menu trai cua menu danh muc-->	
	<div id ="Iddiv_list">
		<table width="100%" cellpadding="0"  cellspacing="0" class="body3">	
			<tr >
				<td valign="top">
					<table width="98%" cellpadding="0"  cellspacing="0" align="center"  class="left_menu_table">
							<tr>  
								<td id ="id_loaidm" class="level1" style="border-top:1px #F1B467 solid; " >
									<a href="<?php echo $this->baseUrl;?>../listxml/listtype/index/">Loại danh mục</a>
								</td>
							</tr>
							<tr>  
								<td id ="id_dmdoituong" class="level1">
									<a href="<?php echo $this->baseUrl;?>../listxml/list/index/" >Danh mục đối tượng</a>
								</td>
							</tr>
						<tr>  
							<td id ="id_dmchuyenmuc" class="level1" >
								<a href="<?php echo $this->baseUrl;?>../web/menu/index/">Quản trị chuyên mục</a>
							</td>
						</tr>	
						<tr>  
							<td id ="id_dmtinbai" class="level1" >
								<a href="<?php echo $this->baseUrl;?>../web/article/index/">Quản trị tin bài</a>
							</td>
						</tr>										
					</table>
				</td>
			</tr>
		</table>
	</div>		
</div>
<script type="text/javascript">											
try{<?php
	// Hien thi menu trai tuong ung voi menu ngang
	$sCurrentModulCode = $this->currentModulCode;	
	$getModulLeft = $this->getStatusLeftMenu;
	$scurrentModulCodeForLeft = $this->currentModulCodeForLeft;		
	//DANH MUC
	try {
		if ($sCurrentModulCode == "LIST"){?>
			document.getElementById('Iddiv_list').style.display = 'block';
			<?if($scurrentModulCodeForLeft == "LIST-USER"){?>
	 			document.getElementById('Iddiv_danhmuc_quyen').style.display = "block";
	 			document.getElementById('list_user').className = "level2_visited";
			<?}if($scurrentModulCodeForLeft == "DISTRIBUTION"){?>
	 			document.getElementById('Iddiv_danhmuc_quyen').style.display = "block";
	 			document.getElementById('distribution_permission').className = "level2_visited";
			<?}if($scurrentModulCodeForLeft == "WEB_MENU"){ ?>
				document.getElementById('id_dmchuyenmuc').className = "level1_visited";
			<?}if($scurrentModulCodeForLeft == "WEB_ARTICLE"){ ?>
				document.getElementById('id_dmtinbai').className = "level1_visited";
			<?}if($scurrentModulCodeForLeft == "LISTTYPE"){ ?>
				document.getElementById('id_loaidm').className = "level1_visited";
			<?}if($scurrentModulCodeForLeft == "LIST"){ ?>			
				document.getElementById('id_dmdoituong').className = "level1_visited";
			<?}if($scurrentModulCodeForLeft == "RESTORE"){ ?>			
				document.getElementById('left_list_restore').className = "level1_visited";
			<?}if($scurrentModulCodeForLeft == "BACKUP"){ ?>			
				document.getElementById('left_list_backup').className = "level1_visited";
			<?}															
		}
	}catch (Exception $ex){;};		
	?>
}catch(e){;}

</script>
<script type="text/javascript">
	shortcut.add("Enter",function() {
		if(document.activeElement.name == 'FullTextSearchLeft'){
			checkvalue1();
		}else{
			var scriptFileName = '<?=$_SERVER['REQUEST_URI']?>';
			if(scriptFileName.search('index') >= 0){
				checkvalue();
			}else
				shortcut.remove("Enter");
		}
	});
	function addEnter(){
		shortcut.add("Enter",function() {
			if(document.activeElement.name == 'FullTextSearchLeft'){
				checkvalue1();
			}else{
				var scriptFileName = '<?=$_SERVER['REQUEST_URI']?>';
				if(scriptFileName.search('index') >= 0)
					checkvalue();
				else
					shortcut.remove("Enter");
			}
		});
	}
	function checkvalue1(){
		if(document.getElementById('FullTextSearchLeft').value != ''){
			var p_Url = '<?=$this->baseUrl?>' + '../fulltextsearch/fulltextsearch/index/?FullTextSearch=' + document.getElementById('FullTextSearchLeft').value;
			actionUrl(p_Url);
		}
	}
</script>